//
//  AppDelegate.swift
//  SWfanghu
//
//  Created by 李言 on 16/6/6.
//  Copyright © 2016年 ly. All rights reserved.
//

import UIKit
import CoreData

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

        // 设置全局的UINavigationBar和UITabBar的颜色
        UINavigationBar.appearance().tintColor = navButColor

        UITabBar.appearance().tintColor = TabbarBaseColor

        window = UIWindow(frame: mainBounds)

        window?.backgroundColor = UIColor.whiteColor()

        window?.rootViewController = MainTabbarController()

        window?.makeKeyAndVisible()

        return true
    }

}

